package com.fc.v2.service.impl;

import com.fc.v2.common.domain.ResuTree;
import com.fc.v2.mapper.auto.AdminMapper;
import com.fc.v2.service.AdminService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;


@Service
public class AdminServiceImpl implements AdminService {


    @Resource
    private AdminMapper adminMapper;

    @Override
    public Boolean login() {
        if (adminMapper.select() > 1){
            return true;
        }
        return false;
    }
}
